function ajaxSubmit(){
	var param=getParam();
	$.ajax({
		url:"simple/ajaxSubmitObject.do",
		data:param,
		dataType:"json",
		async:false,
		contentType:"application/json",
		type:"get",
		success:function(json){
            alert("id="+json.id+",name="+json.name+",age="+json.age);
		}
	});	
}

function getParam(){
	var param=new Object();
	$("#ajaxForm input[type='text']").each(function(){
		var str="param."+$(this).attr("name")+"="+"\""+$(this).val()+"\"";
		eval(str);
	});
	return param;
}
